/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.atp.agencia.principal;

import br.com.atp.agencia.controle.Pousada;
import br.com.atp.agencia.util.CriarInstancias;
import com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;


/**
 *
 * @author Afonso
 */
public class Principal {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws UnsupportedLookAndFeelException {
        // TODO code application logic here
        Pousada pousada = new Pousada();
        pousada.setAlugueis(CriarInstancias.getAlugueis());
        UIManager.setLookAndFeel(new NimbusLookAndFeel());
        new JPrincipal(pousada).setVisible(true);
    }
}
